package com.generalUser.bean;

import java.sql.Date;

public class Orderdetil {

    private  int orderid;
    private  String  beginaddress;
    private  String  endaddress;
    private  String  message;
    private  int orderstatu;
    private Date begintime;
    private Date endtime;
    private  float cost;

    public Orderdetil() {
    }

    public Orderdetil(int orderid, String beginaddress, String endaddress, String message, int orderstatu, Date begintime, Date endtime, float cost) {
        this.orderid = orderid;
        this.beginaddress = beginaddress;
        this.endaddress = endaddress;
        this.message = message;
        this.orderstatu = orderstatu;
        this.begintime = begintime;
        this.endtime = endtime;
        this.cost = cost;
    }

    public int getOrderid() {
        return orderid;
    }

    public void setOrderid(int orderid) {
        this.orderid = orderid;
    }

    public String getBeginaddress() {
        return beginaddress;
    }

    public void setBeginaddress(String beginaddress) {
        this.beginaddress = beginaddress;
    }

    public String getEndaddress() {
        return endaddress;
    }

    public void setEndaddress(String endaddress) {
        this.endaddress = endaddress;
    }

    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }

    public int getOrderstatu() {
        return orderstatu;
    }

    public void setOrderstatu(int orderstatu) {
        this.orderstatu = orderstatu;
    }

    public Date getBegintime() {
        return begintime;
    }

    public void setBegintime(Date begintime) {
        this.begintime = begintime;
    }

    public Date getEndtime() {
        return endtime;
    }

    public void setEndtime(Date endtime) {
        this.endtime = endtime;
    }

    public float getCost() {
        return cost;
    }

    public void setCost(float cost) {
        this.cost = cost;
    }

    @Override
    public String toString() {
        return "Orderdetil{" +
                "orderid=" + orderid +
                ", beginaddress='" + beginaddress + '\'' +
                ", endaddress='" + endaddress + '\'' +
                ", message='" + message + '\'' +
                ", orderstatu=" + orderstatu +
                ", begintime=" + begintime +
                ", endtime=" + endtime +
                ", cost=" + cost +
                '}';
    }
}
